From: Matthias Klose Date: Sun, 1 Feb 2026 09:59:08 +0000 (+0100) Subject: gprofng-cross-build X-Git-Tag: archive/raspbian/2.45.90.20260201-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=c050d653288e3469596858777c711f3e3affe323;p=binutils.git gprofng-cross-build Gbp-Pq: Name gprofng-cross-build.diff --- diff --git a/gprofng/configure b/gprofng/configure index b1eb926eb..cb608bb32 100755 --- a/gprofng/configure +++ b/gprofng/configure @@ -17448,7 +17448,7 @@ fi # Generate manpages, if possible. build_man=false build_doc=false -if test $cross_compiling = no; then +if :; then for ac_prog in makeinfo do # Extract the first word of "$ac_prog", so it can be a program name with args. diff --git a/gprofng/configure.ac b/gprofng/configure.ac index 3a2eb0265..bed2b1174 100644 --- a/gprofng/configure.ac +++ b/gprofng/configure.ac @@ -214,24 +214,22 @@ AM_ZLIB # Generate manpages, if possible. build_man=false build_doc=false -if test $cross_compiling = no; then - AC_CHECK_PROGS([MAKEINFO], makeinfo, [$MISSING makeinfo]) - case "x$MAKEINFO" in - x | */missing\ makeinfo*) - AC_MSG_WARN([gprofng: makeinfo is missing. Info documentation will not be built.]) - ;; - *) - case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in - x*\ [[1-5]].*|x*\ 6.[[0-4]].* ) - AC_MSG_WARN([gprofng: $MAKEINFO is too old. Info documentation will not be built.]) - MAKEINFO="@echo $MAKEINFO is too old, 6.5 or newer required; true" - ;; - x* ) build_doc=true ;; - esac - ;; - esac - AC_SUBST(MAKEINFO) -fi +AC_CHECK_PROGS([MAKEINFO], makeinfo, [$MISSING makeinfo]) +case "x$MAKEINFO" in + x | */missing\ makeinfo*) + AC_MSG_WARN([gprofng: makeinfo is missing. Info documentation will not be built.]) + ;; + *) + case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in + x*\ [[1-5]].*|x*\ 6.[[0-4]].* ) + AC_MSG_WARN([gprofng: $MAKEINFO is too old. Info documentation will not be built.]) + MAKEINFO="@echo $MAKEINFO is too old, 6.5 or newer required; true" + ;; + x* ) build_doc=true ;; + esac + ;; + esac +AC_SUBST(MAKEINFO) AM_CONDITIONAL([BUILD_MAN], [test x$build_man = xtrue]) AM_CONDITIONAL([BUILD_DOC], [test x$build_doc = xtrue])